﻿using HCQ2_Model.VLine.InputDto._20220219;
using HCQ2_Model.VLine.OutputDto._20220219;
using HCQ2_Model.VRDD.InputDto._210908;
using HCQ2_Model.VRDD.OutputDto._210908;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_IDAL
{
    public partial interface IT_VRDDStoreDynamicDAL
    {
        /// <summary>
        ///  获取店铺动态列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        List<GetStoreNewsOutput> GetStoreNews(GetStoreNewsInput param, out int total);
        /// <summary>
        ///  获取有动态的年-月
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        List<NewsDateResult> GetNewsDate(NewsDateInput param);
        /// <summary>
        ///  获取好友店铺动态
        /// </summary>
        /// <param name="param">参数</param>
        /// <param name="user_id">登录用户id</param>
        /// <returns></returns>
        List<FriendStoreNewsOutput> GetFriendStoreNews(FriendStoreNewsInput param, int user_id, out int total, int owenid);
        /// <summary>
        ///  获取视频推送人数
        /// </summary>
        /// <param name="itemCode"></param>
        /// <param name="codeValue"></param>
        /// <returns></returns>
        string GetVideosFeedNumber(string itemCode,int user_id);
        /// <summary>
        ///  获取陌生人数量
        /// </summary>
        /// <param name="user_id"></param>
        /// <param name="folder_id"></param>
        /// <returns></returns>
        int GetStrangerNumber(int user_id,int folder_id);
        /// <summary>
        ///  写入被推荐人
        /// </summary>
        /// <param name="dy_id">动态id</param>
        /// <param name="user_id">被推荐人</param>
        /// <param name="folder_id">店铺id</param>
        /// <param name="num">写入数量</param>
        /// <returns></returns>
        int InsertBeStrangerUser(int dy_id, int user_id, int folder_id, int num);
    }
}